.z-tag-list {
  padding: 8px 17px;

  &--wrap {
    display: flex;
    flex-wrap: wrap;
  }

  &--item {
    width: calc(50% - 16px);
    color: var(--z-text-color);
    height: 32px;
    margin: 8px;
    border: 1px solid var(--z-border-color);
    cursor: pointer;
    display: inline-flex;
    transition: all 0.3s;
    align-items: center;
    border-radius: var(--z-border-radius);
    justify-content: center;

    &.is-active {
      color: var(--z-main-color);
      border-color: var(--z-main-color);
      background-color: var(--z-main-color-light);
    }
    &:hover {
      color: var(--z-main-color);
      border-color: var(--z-main-color-hover);
      background-color: var(--z-main-color-light-hover);
    }
    &:active {
      opacity: 0.8;
    }
  }

  &--icon {
    font-size: 16px;
    margin-right: 4px;
  }

  &--label {
    overflow: hidden;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}
